﻿ALTER TABLE [Training].[UserAttendance]
    ADD CONSTRAINT [FK_UserAttendance_ScheduleCourse] FOREIGN KEY ([ScheduleCourseId]) REFERENCES [Training].[ScheduleCourse] ([ScheduleCourseId]) ON DELETE NO ACTION ON UPDATE NO ACTION;

